//
//  PhotoTableViewCell.h
//  KIASupervisory
//
//  Created by tan_xin on 14-9-22.
//  Copyright (c) 2014年 MyCompany. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PhotoItemView.h"

@protocol PhotoTableCellDelegate;
@interface PhotoTableViewCell : UITableViewCell <PhotoItemViewDelegate>

@property (nonatomic, strong) PhotoItemView *photoView;
@property (nonatomic, assign) id<PhotoTableCellDelegate> delegate;

@property (nonatomic, strong) UIImage *rowData;
@property (nonatomic, strong) NSIndexPath *indexPath;

- (void)updateDatas:(id)rowData atIndex:(NSIndexPath *)indexPath;

@end

@protocol PhotoTableCellDelegate <NSObject>
@optional
- (void)willDeleteItem:(PhotoItemView *)item inCell:(PhotoTableViewCell *)cell;

@end